home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / gnu_oleo_1_2_2.lha / oleo-1.2.2 / io-edit.c < prev    next >
C/C++ Source or Header  |  1993-03-03  |  2KB  |  54 lines

  1. /*    Copyright (C) 1992, 1993 Free Software Foundation, Inc.
  2.  
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation; either version 2, or (at your option)
  6. any later version.
  7.  
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11. GNU General Public License for more details.
  12.  
  13. You should have received a copy of the GNU General Public License
  14. along with this software; see the file COPYING.  If not, write to
  15. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  16.  
  17.  
  18. #include "funcdef.h"
  19. #include <stdio.h>
  20. #include <fcntl.h>
  21. #include <errno.h>
  22. #include <ctype.h>
  23.  
  24. #undef NULL
  25.  
  26. #include "sysdef.h"
  27. #include "global.h"
  28. #include "cell.h"
  29. #include "io-edit.h"
  30.  
  31. struct cmd_func edit_funcs[] =
  32. {
  33.   {"toggle-over-write", 0, TOPLN, 0},
  34.   {"beginning-of-line", 0, TOPLN, 0},
  35.   {"end-of-line", 0, TOPLN, 0},
  36.   {"backward-char", "n", TOPLN, 0},
  37.   {"backward-word", "n", TOPLN, 0},
  38.   {"delete-backward-char", "n", TOPLN, 0},
  39.   {"backward-delete-word", "n", TOPLN, 0},
  40.   {"delete-to-start", 0, TOPLN, 0},
  41.   {"forward-char", "n", TOPLN, 0},
  42.   {"forward-word", "n", TOPLN, 0},
  43.   {"delete-char", "n", TOPLN, 0},
  44.   {"delete-word", "n", TOPLN, 0},
  45.   {"kill-line", 0, TOPLN, 0},
  46.   {"finish-line", 0, TOPLN, 0},
  47.   {"insert-cell-expression", 0, TOPLN, 0},
  48.   {"insert-cell-value", 0, TOPLN, 0},
  49.   {"insert-rel-ref", 0, TOPLN, 0},
  50.   {"insert-abs-ref", 0, TOPLN, 0},
  51.   {"insert-character", "T", TOPLN, 0},
  52.   {0, 0, 0, 0}
  53. };
  54.